The best explanation for why energy transfer in a food web is described as a pyramid is:
Energy is lost at each trophic level, with less energy available to organisms higher up in the pyramid.
This reflects the concept that as energy is transferred from one trophic level to the next, a significant amount of energy is lost as heat and through metabolic processes, resulting in less available energy for higher levels (such as secondary and tertiary consumers).