The difference is in the direction.
Quitting is empowering. Giving up is debilitating. Quitting is an action that moves you forward in a new direction. Giving up doesn’t move you forward. It just keeps you stagnant where you are.
Quitters eventually find their path and a way forward. Giver uppers only find obstacles and reasons to stay in their current circumstance. Quitting puts a stop to what no longer can be tolerated. Giving up is giving in and expecting more of what is intolerable.