As others noted she's submitting to you. If you want to encourage it, give her a good firm rub on the back just in front of the tail. If you'd rather she not do it, just ignore her and that may lessen her desire to squat in front of you.
As I'm an encourager, I get chickens running after...