I buy Tiptree ketchup in a glass bottle these days.
There was a scientific experiment a few years ago to identify the best way to extract the ketchup from the bottle.
For glass bottles the technique is to tap the neck of the bottle with your wrist after you have inverted it before opening the lid.