The pressure on the flange joint tends to increase as the pressure containment capacity and/or the diameter of the pipe increases.
A slip-on hub flange has an additional structure called “hub” in order to bear higher pressure.
The slip-on hub flange is often used for higher pressure and/or larger diameter pipes than the slip-on flange without the hub.