This person discovered their horse was smart enough to open a stall's gate by themself. When they realized their fellow was munching on grains alone, they opened the gate with their mouth and entered their fellow's stall.