The frustration is I think caused by the different elements of a company having different profit and losses, that are hidden by their conglomerate name. This is important for where an energy "supplier" (a company that extracts gas or oil from the ground) is the same as the energy retailer (a company who buys wholesale gas and electricity and sells to consumers). Even worse if they are also the electricity generator (a company who generates electricity from some source means).
For suppliers, high international gas and oil prices create wider profit margins. The cost to extract is more or less fixed (in the short term) so short term hikes in the wholesale market cost driven by availability increases profit.
For generators, their sale price is linked to (but not 100% governed) by the short term cost of the last 1kWh generated. When electrical demand is high, and the cost of generation is linked to a high gas price, electricity costs a lot, but companies like EDF (running UK nuclear) again have a long term fixed cost, so margins go up. The same is true for wind generation, if their generation has not been pre-sold for a fixed price.
For retailers, they buy and sell at market rate with some long term hedging built in. If the wholesale market is high, and they have a fixed retail price (cap) then they sell at a loss and go bust. If they have sufficient long term hedge, they can take the short term pain (with deep pockets) and re-adjust as the cap is raised. For Octopus - they own a tiny amount of wind generation, but buy lots of wind on long term low contracts. They stayed alive because they source low cost energy.
It's the big boys (EDF, BP, Shell, British Gas etc) that seem to reap the rewards, not from the consumer directly, but via the wholesale margin...