"Difficult" is a more formal word. If a politician were asked something in an interview and said, "That's a hard question to answer," it would sound more "folksy" and conversational than, "That's a difficult question to answer."