I had a relationship with a man who shared a couple of similar traits (and other significant ones you haven't mentioned but that's by the by).
When I posted about it on here, a poster said something that struck a chord ...that he was developmentally immature, that he hadn't developed or matured fully as an adult. (That included emotional regulation).
This man, imho, is similar ...the thoughtless, inconsiderate, fairly unreasonable behaviour...followed by blaming you for your understandable exasperation instead of a reasonable/mature response like "sorry, I didn't think/I forgot I'd told you to get me aftershave/I thought you probably wouldn't pick that one/yeah I should have dropped you a text before I bought it/I'll take mine back, don't say anything to your DD, she can still give me hers/I really like it so I wouldn't mind another bottle, we:ll just not say I already have it to your DD" etc. etc. A tiny bit of "oh shit, sorry", a tiny bit of conciliatory attitude/speech could have solved the thing easily.
I'm presuming nothing like that came out of his mouth. Then he got annoyed at you for daring to show exasperation. Then he threw a strop and started the fairly vicious, derogatory name calling.
It's all very very immature, like someone who hasn't grown up (and is a nasty child to boot).
If he's still like that as a relatively mature (by age, not development) adult; I'm sorry to say that he's extremely unlikely to change (as was/is the man I dated). It hasn't happened (normal development and regulation and responsibility).
It was probably a mistake to go ahead and get married and have a child with him, having seen what he was like, just because he' stopped verbally abusing you for a while (imho mainly because he knew there was a strong possibility he would end up out on his ear, and trying to find another part of from scratch again).
And I don't know much about you but I now know that you have a good, decently paid, respectable, responsible professional job ... I'm sure you're an attractive lady, you presumably have no addictions or major issues, your child is well up in age, you probably house-keep and care for people well etc etc. I think women actually overestimate how hard it is for men to find someone like that. They're always doing themselves down when dating; but the fact is that the dating scene is chock full of people with all sorts of issues and problems, also with responsibility for young kids (by other men obviously), people who are not solvent, not stable, can't earn more than MW etc. etc. You are a catch. You are a woman a man's family etc would be pleased to see him with.
Of course he was going to knock the verbal abuse etc on the head long enough to lock you down.
Once you were locked in, he would feel free to act however he fancies.
And this appears to be the norm (not the period where he refrained cause he knew there was a good chance he'd get dumped and have to try to attract and secure another woman on your level from scratch) ..... This is the default.
Something's not gone right with his development and he's unlikely to ever change, I'm sorry.
Sooner or later your kids are going to hear this shit.
Also it's impossible not to be affected by someone acting unreasonably and being verbally abusive ...are you truly at your most relaxed, confident, happy, productive etc dealing with this? That affects you, your kids, potentially your career etc.
Did you say your friend doesn't like him? That sounds significant too.