Harry Potter's hands burned Quirinus Quirrell because of the protective magic his mother left in him when she sacrificed herself to save him. This magic acted as a shield and caused Quirrell, who was possessed by Voldemort, to burn and blister upon physical contact with Harry. This unexpected defense mechanism played a crucial role in preventing Quirrell from seizing the Philosopher's Stone.