Question: why xmen and avengers not together?
Answer: In the movies: Because different companies own the movie rights. In the comics: Because comics operate in this weird universe where consistency isn't important, except for those times where it is really important, and different comics operate in effectively different universes, except for those times when they don't.