As a rule, suspension forks are the better option.
Unlike rigid forks, they’re built to travel up and down a few inches as the bike rolls along, better absorbing shocks from the terrain, hence protecting your child’s body. Suspension forks also increase control over rough terrain.
That being said, rigid forks do have their advantages - without moving parts, they’re more reliable, lighter, and easier to replace.