Some text messages showing phone number not contact name
I've seen this happen to me before. To fix it for myself I've had to disable iCloud Contacts and then enable them.

Although, it might be best to restart your device before disabling and then reenabling your iCloud contacts?

Steps:


Settings
Apple ID (top of settings)
iCloud (2nd set, 1st item)
Toggle contacts switch to disable
Delete from My iPhone
Toggle contacts switch to reenable