Cats will always do that when protecting their kittens.....
I’ve seen a cat chase a dog and jump on his back when she was protecting her kittens. But I’ve never seen a cat body slam a dog to stop it from attacking a human child. Not to say it’s never happened before, but I’ve sure never seen or heard of it.