If you ride a horse over a moving piston, such as one connected to a clock circuit, the horse will appear to take damage. The horse doesn't actually lose any hearts, but appears to take damage regardless.
Tested this on other rideable mobs (pig), and this only seems to affect horses.
Please respond and add the current version if you can reproduce this issue.