This must be relatively new. There was a period of at least several years prior to Windows 11 where I don’t believe it was possible to download without logging into the website.
I've downloaded virtually every release ISO of Windows 10 going back to the first one.
I don't think I have ever been logged in, mainly because I end up using a different browser with a fake macOS user agent to make it give me the ISO instead of trying to get me to download their exe.