Question: why can the house of representatives choose the president?
Answer: In the case of an Electoral College deadlock or if no candidate receives the majority of votes, a “contingent election” is held. The election of the President goes to the House of Representatives. Each state delegation casts one vote for one of the top three contenders to determine a winner.