Here's why:
* Neville Longbottom initially earned the points by standing up to Voldemort and refusing to hand over the Philosopher's Stone.
* However, Professor Dumbledore felt that Harry deserved the points because of his bravery and selflessness throughout the year, including his confrontation with Voldemort in the face of overwhelming odds.
* Professor McGonagall, who was acting Headmaster in Dumbledore's absence, ultimately agreed and awarded the points to Harry.
This decision highlighted the importance of courage and moral fortitude in the face of danger and adversity.