Your phone knows the difference between real and ghost touches
Every tap creates an electrical phantom, and your screen has to figure out which fingers are actually there.

Touch your phone screen with two fingers and something weird happens. The screen doesn't just detect two points. It sees four potential touch locations arranged in a rectangle. Two are real. Two are mathematical ghosts that appear where the electrical signals intersect. Your phone has milliseconds to figure out which touches are from actual fingers and which are phantom artifacts of the grid itself. Get it wrong and your pinch to zoom becomes a chaotic mess. This happens because touchscreens work by creating a grid of electrical fields, and multiple real touches create fake intersection points.