I know my dog loves me. She tries to follow me everywhere I go. There are a few places I would like some privacy, please. This is what happens if I forget to latch the bathroom door when getting into the shower.
Perhaps she is making sure the bath mat doesn’t move.