Given that galaxies are observed to be redshifted and moving away from each other, it's implied that the universe is expanding. At some point in the past, the galaxies would have been closer together before the expansion began.
Therefore, the correct statement is: The galaxies were closer together.
This aligns with the understanding of the Big Bang theory, where the universe has been expanding since its inception, causing galaxies to move away from each other over time.