Starting November 2022, Google requires that you have set up Sender Policy Framework (SPF) or DKIM (Domain Keys Identified Mail), to be able to send emails to them. Make sure that these are set up on your domain. To add an SPF record, you may follow this Help Center article, Adding SPF Records.
You may also visit this Google Support article, Follow recommended email server practices.