I think the poster wants to know
why two atomic orbitals combine to give two molecular orbitals , and
why they differ in energy.
Suppose a 1s orbital of Hydrogen atom is combining with another 1s orbital of the other Hydrogen atom. Orbitals, as you know, can be are wave functions of the atoms. Your elementary physics classes must have already taught you about
phase of waves. Simply put, orbitals also have phase, just like the waves. And just like waves, they can combine in-phase , or out-of-phase. When two waves in the same phase superpose, what happens? They combine
constructively to form a resulting wave that has higher amplitude. And what happens when two waves combine out-of-phase? They combine destructively, and in case of atomic orbitals , they lead to formation of a
node
" When the two orbitals combine out-of-phase, the resulting molecular orbital has a nodal plane
between the two nuclei. This means that if we were to put electrons into this orbital there would be
no electron density in between the two nuclei. By contrast, if the molecular orbital from in-phase
combination contained electrons, they would be found in between the two nuclei. Two exposed
nuclei repel each other as both are positively charged. Any electron density between them helps to
bond them together. So the in-phase combination is a bonding molecular orbital. As for the electrons
themselves, they can now be shared between two nuclei and this lowers their energy relative to
the 1s atomic orbital. Electrons in the orbital from the out-of-phase combination do not help bond
the two nuclei together; in fact, they hinder the bonding. When this orbital is occupied, the electrons
are mainly to be found anywhere but between the two nuclei. This means the two nuclei are more
exposed to each other and so repel each other. This orbital is known as an antibonding molecular
orbital and is higher in energy than the 1s orbitals. "
The quoted extract and the image is from the Organic Chemistry textbook by Jonathan Clayden and Co-authors. I think that answers your question.