Might as well ask on !autism@lemmy.world
From my experience, people with autism tend to take everything they hear at face value, so it takes time to understand when what's being said isn't literal. Some jokes fly over my head, some of my jokes make "no sense" to people around me, I'm often seen as rude for being too straight to the point.
So, what you need is friends that are understanding. What's obvious to them might not be to you and vice versa.