Orihime cursed her powerlessness and wished for the strength to defend everyone. Thus the hogyoku granted her desire.