Question: why pyramid head protect sharon?
Answer: Since Pyramid Head while originally an apparition of James Sunderland's guilt and need for punishment, is still a monster under the control of the God of Silent Hill, so it's a second job for him to protect her.