If you are getting a pending message but are still friends with the person, it is most likely a network problem. The messages you send to a friend will be pending if you don’t have an internet connection on your device.