Something that causes pain is painful. Those pointy, high-heeled shoes look painful.
If someone is beaten up, they are in a fight, usually with punching, hitting, etc. It's hard to imagine a mom beating up her kids in a street fight.
They look like they are in pain because their mother beat them.
(This implies a very, very severe punishment, which would be illegal where I live.)
Student or Learner