The major stock indexes fell on Friday as investors weighed energy supply concerns amid the continued tightening of travel at the Strait of Hormuz, leading to certain names falling too hard, too fast for the week. The market downturn put some stocks across the consumer discretionary, industrials and technology sectors into oversold territory, potentially priming them for a near-term rebound. Among the most oversold stocks was Meta , which faced two unfavorable outcomes in court last week, in addition to shedding staff. A stock qualifies as oversold when its relative strength index is below 30. Conversely, some stocks closed out the week in overbought territory. Overbought stocks are names that boast RSIs greater than 70. These names may be due for a pullback near term. Here are the most oversold and overbought S & P 500 stocks. Oversold stocks Meta nearly topped the list of oversold stocks last week after losing two major court cases, in addition to its latest round of layoffs . The stock has an RSI of 22.1, and it shed more than 11% this week. On Wednesday, a jury in California determined that Meta and YouTube were responsible for loading their social media platforms with addictive features that harmed the mental health of a minor. The court ordered Meta to pay $2.1 million in damages in connection with the case. A day earlier, a New Mexico jury also found Meta liable for making decisions that harmed its young users, sticking Meta with a $375 million bill. Meta also slashed headcount across its Facebook, global operations, recruiting, sales and Reality Labs divisions last week, CNBC reported. The cuts shored up investors’ long-time anxieties over the impact of the technology giant’s frequent and costly corporate strategy shifts. Other names in oversold territory are Estée Lauder Companies , Cintas and Lennox International . Overbought stocks Energy names filled out most of the spots on our list of overbought stocks. Topping the list was APA , an independent energy company with subsidiaries that find and produce oil and natural gas across the world. The stock has an RSI of 87.8. Its shares jumped nearly 14% last week. Investors are adding shares of energy companies to their portfolios as the Iran war is set to enter its fifth week. The conflict has led to a series of supply chain disruptions that have sent oil prices higher. West Texas Intermediate crude oil futures rose settled at its highest level since mid-2022 on Friday. Brent crude oil futures also ended Friday’s session at their highest closing level since July 4, 2022. Other names on the overbought list include Diamondback Energy , Devon Energy and Occidental Petroleum.