All energy comes or came from at one time.....gasp.....THE SUN.
I think there are other types of energy that come from the sun.
Ah, no. Stars have precursors, dust. In other words, there is a before energy state before stars, a state or states of energy that, sometimes, forms into stars.