A concerned Tia

Patient: My neice is 2 years old and I have noticed every time she has a bowel movement she holds the back of her head with both hands as she pushes. I asked her why does she do that and she said “it hurts tia”.Is this something to be concerned about?