Does fly postgres attach change the postgres password?

Somehow postgres got changed, I want to figure out why

fly postgres attach generates a random password for you and you must save it somewhere cause it will never be displayed in plain text again.