Lumber initially shot up if I recall due to a supply issue when covid caused mills to shut down with limited labor supply and even outright restrictions to operation by local governments. It subsequently whipsawed to much lower prices once mills came back online as evidenced by the volatile lumber spot prices shown here:
https://markets.businessinsider.com/commodities/lumber-price
As for corporate profits and their impact on recent inflation, see the following article which states:
“Since the trough of the COVID-19 recession in the second quarter of 2020, overall prices in the NFC sector have risen at an annualized rate of 6.1%—a pronounced acceleration over the 1.8% price growth that characterized the pre-pandemic business cycle of 2007–2019. Strikingly, over half of this increase (53.9%) can be attributed to fatter profit margins, with labor costs contributing less than 8% of this increase. This is not normal. From 1979 to 2019, profits only contributed about 11% to price growth and labor costs over 60% …”
https://www.epi.org/blog/corporate-profits-have-contributed-...
Now, your iPhone, prescription drugs, favorite personal products, chicken, meat and eggs are a different story. These markets are controlled by a few dominant producers that distribute through tightly controlled retail markets and hold great pricing power.