Another way to say "A child can act petulantly" is "Children can be petulant."