That happens to me from time to time as well. Usually a reboot of the various devices will solve it.

At least once I've had to toggle the setting on my iPhone for "Text Message Forwarding" under the Message app in Settings.