How to deal with an emotionally unavailable husband

I'm not sure if emotionally unavailable is the right word but my husband has never really been very affectionate. Back when we dated my MIL warned me that my husband isn't an affectionate person at all. She's how I found out he has autism. She told me that his autism was the reason he was too trusting as a child which lead to him trusting the wrong people when he was a child and caused him to be severely abused. She doesn't know if that's why he's not affectionate but believes it's a big reason.

Well she was telling the truth about him not being affectionate. He doesn't really like hugs much. Whether he cuddles me completely depends on his mood. Same with sex. Whether we have sex is a mood thing for him. Some days he's more open to affection than others but like I said it strongly depends on his mood. He's already been to therapy in the past according to his mom to deal with his traumatic experiences so I guess this is just how it is and it makes me really sad. Some days it just feels like he doesn't want me. My friends talk about all the things their husbands do. Like hugging them from behind. Kissing on their neck and I just feel like my marriage is crap compared to there's. My husband's way of expressing love is by making things for people. Especially baking and I love that. Just wish he acted like he wanted me