Why is marriage too much of a commitment but having a kid is not?

I would think having a child is a long-term commitment. You don’t wanna be tied to someone forever and a child is forever.
Why is marriage too much of a commitment but having a kid is not?
Post Opinion