It’s one of the greatest mysteries in solar physics. Dubbed the coronal heating problem, the issue arises from the fact that the solar corona, or Sun’s atmosphere, is millions of degrees hotter than the layers directly below it.
This goes against modeling that suggests the corona should be far cooler than the layers below it.