Because the connecting line PO is the median line on the hypotenuse of the right triangle AOB.
So PO=OA=OB= 1/2AB.
So PO is fixed length.
O point does not move, p rotates around o.
Then the trajectory of p should be an arc.