I suspect op there is possibly an issue that needs discussing at the back of this - which isn't to say he isn't in the wrong in the way he has handled this.
I will be quite interested to see what arrives when his gift does come, but I can't help feeling this has everything to do with the fact you have asked for non-sexy pjs and he has dug his toes in over the fact they aren't sexy.
Men also get jitters over the changes that come into their lives with the arrival of a baby. It is so visceral and huge for us because we actually carry the baby and feel everything from nausea to mastitis to a failure to squeeze into our clothes.
But I guess he is also going through a realisation of what is changing, in particular your priorities - as they ought to. But "ought to" doesn't mean they aren't nonetheless a change, and we all find change hard at times, especially the bits we have enjoyed of the old ways.
I can't help but feel if you had asked for a pair of shoes, or make-up or chocolates - or basically anything other than non sexy sleepwear or underwear he might have felt happier about buying it. That doesn't mean he isn't in the wrong, but I suspect this isn't so much about simply not caring for you as resisting that particular item.
Equally he may just be an arse generally and fundamentally, but I feel like you are saying that hasn't been the case historically.