Hi Hilbert,
It's pretty ingenious really! The marble is warmed and dropped into the neck chamber, before the lip was formed and tooled from another blob of molten glass, leaving an opening at the mouth, smaller than the diameter of the marble! The lip was also formed with a groove on the inside, to receive a rubber washer which made a seal with the marble. Damned clever those Victorian inventors!