1, turn the bottle of ketchup upside down and pat it for a while, then turn it right side up and unscrew it with force counterclockwise.
2, if you still can not unscrew it, you can use a knife to poke a hole in the lid of the bottle of ketchup, to let the air out of the inside, and then you can open it.