Afaik it's just a hypothesis that HIV creates AIDS and the postulated reasons for that changed for a couple of times if I'm correct. I also think the reasons as to why your immune system collapses when having AIDS still isn't understood yet...