So, if they lost money and had to stop increasing capacity and developing new sources, they don't have the right to make some of that back so that they can resume normal operations?Total BS. Refineries are intentionally trying to make up for 2020-21 during the lock-down when demand went way low. They're using Ukraine and Russia, along with renewed demand, to stick it to consumers and business. So far refineries are up over $30B in profits, and expect to do an $80B stock buy-back in Q4.
Stick that in your Wikipedia and smoke it.
Further, costs that figure in to the retail price of gasoline and petroleum chemicals such as transportation (up over 300% in most cases), labor, regulatory expense and others have all increased during the pandemic and in its period of decline.
In many fields, you only have the choice of making up for losses or going out of business.