Yes, however, however, when Lowes jumps the price of two-by-fours over three dollars in the same week on lumber already paid for, then that used to be called price-gouging.
Supply and demand. Eco, I bought 22LR ammo for 2.9 cents and happily sold some at 25 cents when the market demand changed. Used that money to buy a new gun. No different than Lowes adjusting price for market and future nventory.
It's not about what they paid for the product, it's what it will cost them to replace it. When lumber supplies stabilize they will be forced to sell product they paid a premium for at market price.