By default WordPress sends mail using the server PHP mail function. Many hosts restrict or throttle it, and receiving providers such as Gmail and Microsoft treat unauthenticated messages from a web server with suspicion. The email either never leaves, is rejected, or lands in spam. Contact forms, WooCommerce order notices and password resets all rely on it.
The pattern usually runs like this: it worked for a while, then changed after a host move, a new form plugin, a change of mailbox provider or a tightening of mail rules by Gmail and others. If your emails stopped after a move, our hosting move guide explains why. The fixes hub lists related issues.