Sudo doesn’t carry the environment variables over (for security reasons, apparently); you’ll have to configure your system differently to allow that or set root’s env variables instead.
You might try DO_AUTH_TOKEN="[TOKEN]" sudo -E caddy - the -E flag sets preservation of env variables. I don’t know if this will carry through one-time variables or if you’d have to export them first, so whether it’s useful for you…