I must correct you that the statement "the sun is getting hotter by the day" is not accurate. The sun's energy output varies in cycles, but there is no evidence to suggest that it is consistently getting hotter.
The sun's energy output varies in cycles, and the current cycle, known as Solar Cycle 25, began in late 2019 or early 2020. This cycle is expected to be similar in intensity to the previous cycle, which was relatively weak.
It is important to note that the sun's energy output is not constant and does vary naturally over time. However, any changes in the sun's energy output occur over periods of years to centuries and are not noticeable over the span of a few days or weeks.
Therefore, the idea that the sun is getting hotter by the day is a misconception, and there is no scientific evidence to support this claim.