Reason for the greater energy of the eclipsed conformer of alkanes?
Just take two electrons. If you want to push them closer together you need to input some energy and the system overall will have higher energy. There is a preference for the two electrons to be farther apart.

This situation is not any different if we look at pairs of electrons in bonds instead of individual electrons.