The Chofetz Chaim explains that humans communicate with speech or by sending letters, but Hashem can send a thought or desire into a person’s heart, and thereby communicate His will.
A person often doesn’t know that Hashem planted the thought in his mind; he thinks it was his own idea. But really it was Hashem speaking to him. ~ R’ Elimelech Biderman Shlita