Arguably, a sell-transaction of ETH could be energy-positive in that it causes downward-pressure on the ETH price.
This also means that buying ETH on an exchange can be considered as contributing to the energy consumption of the network.
The fees the miners earn are currently a small part of their revenue:
https://www.theblockcrypto.com/data/on-chain-metrics/ethereu...
Interesting thought, but mining profit margins are rather thick right now in most parts of the world (because the supply of miners is a little inelastic--mining equipment doesn't just poof into existence as the price rises). So I don't think anyone is turning miners on or off in response to small movements in the price right now.
Also, if you bought and then sold that would seem like a wash. Or worse, since you temporarily raised the price and therefor incentivized mining for that time.
The author paid Ethereum fees to run snake on the world's crappiest "global supercomputer" (as they like to call it). Those fees then support miners who consume energy and semiconductor resources that could have been spent on something more useful.