When you use hand sanitizer to sanitize your hands you should wash your hands with regular soap and water to get rid of the hand sanitizer off your hands.
When you touch food after using hand sanitizer the hand sanitizer will transfer from you hands to your food which is not good.
I once made that mistake and after cleaning my hands with just hand sanitizer I grabbed a sandwich and started eating it.
I got that awful taste of the hand sanitizer in my mouth which I had to then wash out of my mouth by using mouthwash a few times.
So while hand sanitizer is good for killing germs on your hands it's required that you still wash your hands off using hot water and soap to keep from transferring the hand sanitizer to food.
Or put on food grade gloves when you've used hand sanitizer on your hands before touching food.