Not being able to message a user can be caused by a few things.
First, check to see if you hare having any wifi or network issues. You can do this by using another internet-based app to ensure it behaves normally. After confirming your network connection is stable, try messaging the user again.
If you are still not able to message the user, that user has probably blocked you and you will not be able to send them any messages.