Fly neurons aren't like human neurons. They have different nerves that transport signals faster than human nerves. So they can see your hand moving towards them faster than we can see for ourselves, which makes them able to avoid being squashed (most of the time).