Last name fight

I left my abusivie asshole of a boyfriend, but now he's like flipping at me cause I'm giving our baby my last name. Am I in the wrong? Cause I wasn't gonna make her last name his to begin with. But now he's blaming it on the fact were no longer together