It is not exactly expanding into anything. The galaxies are
moving apart from each other, from which we can infer that the
universe is expanding. Theoretically, this is a result of the Big
Bang, in which the universe began when all matter was compacted
into a very tiny sum, and then exploded apart in a very big bang,
and as a result is still expanding today.