People marking paper ballots manage to screw up the marking in every conceivable way, and when those are recounted in a close race, whoever is doing the counting can exercise some discretion in edge cases. Presumably a machine could guarantee that the ballot was filled out correctly and not spoiled.
For example, in a 2017 election for a seat of the Virginia House which would have switched party control, an election recount came up one vote in favor of the Democrat, but then GOP officials declared that a (clearly spoiled under any reasonable interpretation of the official rules for counting) ballot should count for the GOP candidate, making the vote a tie. Another GOP official then decided the contest in the GOP candidate’s favor by drawing his name from a hat. https://en.wikipedia.org/wiki/Virginia_House_of_Delegates_el...