Hey there,
Understand that you’re having trouble with iMessage where you don’t see contact names,There are some things you have to do that can solve this problem.
first:
Look at your iCloud Contacts app
iCloud helps you organize and sync contacts between all types of devices, as long as they use the same Apple ID. So when you add or update a contact, iCloud makes that same change on all your devices–no need to manually update.
When you enable iCloud Contacts, all of the contact information stored on each device uploads to iCloud and syncs. So it may be that your contacts are not syncing between your devices and therefore are not updating the contact card with the name and other relevant information.
Follow these steps until you sync iCloud contacts on your iPhone:
Go to Settings > tap on your name > iCloud > contact - turn on When asked to Merge or Cancel, tap Merge. If already on, try toggling it off and choose cancel to force a sync.
second :
Check Your Contact App Settings!
Go to Settings > Contacts > short name and toggle ON/OFF the Shortname and Prefer Nickname features in contacts. Then go back to your Message App and see if it’s now working normally.
if that doesn’t work try Restart your iPhone and Check if the problem is gone.