Crypto mining is an energy-intensive process that uses expensive hardware. It also consumes significant amounts of electricity, often from fossil fuels. Fluctuating electricity prices can cut into mining profits.
In addition to the block reward, miners are paid transaction fees and minted new coins. However, mining is less profitable than it used to be because of high competition and difficulty.