A .env file holds the credentials your application needs to run: database passwords, API keys, mail and payment provider secrets, session and token signing keys. It belongs on the server, readable only by the application process.
When that file sits inside the directory your web server publishes, anybody can request it over HTTP and read every secret in it. There is no exploit and no skill involved, it is an ordinary file request. Automated scanners sweep the internet for exactly this, so exposure tends to be measured in hours rather than months.
The damage rarely stops at the one site. The same keys are usually reused across staging and production, and database, storage and mail credentials let an attacker read your data, change it, or send mail as you. A single exposed .env is therefore a common route to a full account takeover.
