@Edent isn't hydrophobic just for water, where as ketchup is a mix of chemicals and has a different viscosity, But yes, that would be a good idea,
Maybe using a bottle is wrong, perhaps we need a different mechanism.
https://study.com/academy/lesson/what-is-hydrophobic-definition-interactions-quiz.html
So perhaps what is needed is a coating on the bottle that makes the ketchup molecules less attractive, so they repelled, so in theory won't stick.
Such coaching can't be absorbed in to the ketchup either or affect it chemically otherwise those chemicals could end up inside us as people.
Could make an interesting high school research project :D