Email works fine for that case - that's already been solved. It's "transfer the file now" that's annoying. I would love for third party software like Croc to just be included in Windows (like Curl is now) so this isn't made hard. If you can convince someone to download extra software to get your file, you can just use BitTorrent.
There's also https://sendfiles.dev/ for browser to browser transfers. You could also self-host an FTP server (or something more modern like NextCloud) and open a port on your router to let users download (and take it a step further with a dynamic DNS provider in case your IP changes). I agree that it shouldn't be this hard just to transfer a file.
I'd really rather people weren't emailing me large files and if I'm the one sending the file I've got no idea what limits the recipient's mail provider imposes.