A simple restart can clear messaging service glitches. Power off the iPhone and turn it back on. If the issue is network-related, reset network settings can help (erases Wi-Fi passwords, Bluetooth, ...