In underground coal mines, the major source of heat is due to oxidation, particularly the spontaneous combustion of coal when exposed to oxygen. This process releases heat as coal reacts chemically with oxygen, often leading to a rise in temperature. While lights, rock movement, and machinery can contribute to heat, they are not the primary sources. Oxidation, especially in coal seams, is a well-documented phenomenon in mine safety studies and can even lead to fires if not managed properly. Thus, the correct answer is Due to oxidation.