There is an authentication error. Double check the password—it’s something like 24 chars.-8 chars.-8 chars.
Additionally, if you’re in Europe, make sure to use smtp.eu.mailgun.org.
If you’re still having problems, diagnose with Swaks.
https://documentation.mailgun.com/en/latest/quickstart-sending.html#send-via-api