Basement floor drain question

The main floor drain in my basement is in the middle of the laundry room. Every time I run the washing machine, soap foam comes up from the floor drain. It's not a lot and its not water flooding, just suds.

I'm wondering if anyone knows why this is happening? And, how it can be fixed? Thanks