No sound from text messages received
This seems to be a common problem. Why? Why is Apple not involved?
This seems to be a common problem. Why? Why is Apple not involved?
Check your iPhone settings
Go to Settings and turn on Airplane Mode, wait five seconds, then turn it off. Check Do Not Disturb. Go to Settings > Focus > Do Not Disturb and make sure it's turned off. Check for any blocked phone numbers.
If you can't make or receive calls on your iPhone - Apple Support

Can't send or receive message then try these steps first
If you can't send or receive messages on your iPhone, iPad, or ...

But, changing the alert tone, and restarting the phone made the difference. I just got a text and the alert sounded. Thanks all!!
The focus functions seem to be the main problem.
Many people set up without thinking about it a Focus schedule that starts at specific times or with Smart Activation. Someone also makes a Sleep Focus because they set up a Sleep/Wake alarm, instead of the normal alarm in the Clock app. But when a sleep focus is set up, other functions also follow, for example that notifications become silent.
As SravanKrA also suggests, check if any of your Focus profiles are active. Also check if they are set to start automatically, in that case delete or disable.
I have no issues with any of my devices. iPhone 12 Pro, iPhone 8, iPad Pro and iPhone SE (1st gen)
Thanks for the info, that doesn't seem to be the problem. When I select the alert tone, I hear it, but when I get a text, no sound.
Have you checked whether your Silent Switch over Volume Buttons is activated? If it is red, it is Silent
Perfect!. Often a restart can do it, but people today forget that an iPhone also has the option of being switched off hehe. You're welcome.
No sound from text messages received