The moment of inspiration can come from memory or language or the imagination or experience - anything that makes an impression forcibly enough for language to form.
The parent knows instinctively that if they're working and setting an example...