Not to try and diagnose you, ann yeltrab, but trauma/PTSD is associated with gaps in memory like you described. It might be something worth exploring with a therapist if you want to?
Plus, key symptoms of PTSD and autism can overlap, and they can coexist. I was diagnosed with autism as a teenager, but my current T is certain I don’t have it and I’ve also come to think I was misdiagnosed and “only” had PTSD.