Taking out the trash involves lifting something that’s usually heavy, twice. So the person that’s more likely to have the higher upper body strength handling it makes sense.
Which is why, as we all know, doing the laundry is a man's job.
There’s also the mess factor, and a shit ton of people born before the eighties or so and after maybe 1900-ish definitely had a concept that women shouldn’t have to get dirty on a regular basis.
Oh yeah, that's why changing baby's diapers is almost always a man's job.