This question already has an answer here:
At the end of Captain America: The First Avenger Red Skull disappears and it was later discovered that he was transported by the Tesseract. In other circumstances like when Thor took Loki to Asgard at the end of The Avengers, the Tesseract went with them. But in case of Red Skull he was transported but the Tesseract didn't go with him. Why did this happen?