When two spiral galaxies collide, the hydrogen present on their disks is compressed, producing strong star formation as can be seen on interacting systems like the Antennae Galaxies.
During a galactic merger, the hydrogen in the disks of these spirals gets compressed, resulting in vigorous star formation. This phenomenon can be observed in interacting galaxies such as the Antennae Galaxies.