Welcome to Android Central! Does this happen even with phone numbers that are in your Contacts? If you receive a text from someone whose number is not in your Contacts, then it won't display their name until you add them to your Contacts.
The number has to be listed in your contacts before any info besides the number is displayed. Something like Caller ID apps used for phone calls doesn't work the same way for text messages.