Representing the USA abroad and being the "focal point" in foreign relations - that is the most important role that the US presidents plays - in terms of actual implications. Domestically it does not matter as much, but internationally it has a lot more impact - as the leaders who meet get "much more work done" in between them. Therefore a smart and effective diplomat is most beneficial to the position as president.
Too bad the US population is so little aware of this...