Why are some messages in my iPhone 5s inbox showing number while others are showing contact names

Some text messages actually show the name on my contact list but some others show phone number with the country code in front, that is +234.......
You'll need to add that number to a contact in your address book, then it will show the contact's name rather than the number.

Original thread: https://forums.imore.com/threads/why-are-some-messages-in-my-iphone-5s-inbox-showing-number-while-others-are-showing-contact-names.344756/