How can you find out why a relative was awarded the Purple Heart?

If it was after the early 1940's, it was for being wounded or killed in combat. If the individual is deceased, you can contact the military for a copy of his service record. It should record the where and when of the award.