The science of parenting

I’m curious, what is the actual relevant law here? In both the US and Canada? Seriously, what would they do if you just said “This is my baby, not yours. If I’d given birth at home you’d never know what car seat I’m using. I’m leaving now. You should not stand behind the car.”?