Yes, they remember bad tippers
Your delivery person remembers the bad tippers. They remember the really good ones, and the really bad ones. The others sort of drift off into oblivion. Your driver probably won’t do anything to harm your food or put his job at risk if you’re a bad tipper, but he certainly won’t go the extra step of giving you free ranch dressing.