For optical disk a laser beam is not focused on the surface and this is by design. There is a transparent layer that refracts the beam further so it's focused inside the disk where data is written. Particles outside this layer that are tiny enough may not eclipse the entire beam.
When the disk spins, the particle stays within the beam for some time, affecting multiple readings but (hopefully) every single reading is not affected enough to matter. If the data were on the surface and the beam focused there, a particle almost as small as a single pit or land might eclipse the beam entirely.
Tiny scratches undergo the same rules.
Similar phenomenon allows you to use glasses with an eyelash stuck to one of the lens. The eyelash is not if focus, it blurs in front of your surroundings. You may notice it's there but it doesn't entirely cover any point of your view at any given time.
Optical disks also use redundancy to perform error corrections. Without this redundancy read errors would manifest frequently. Compare this answer of mine: CD-ROM subchannel is different when dumping the same disc.
A hard drive needs its head to be very close to its platter:
In 2011, the flying height in modern drives was a few nanometers. Thus, the head can collide with even an obstruction as thin as a fingerprint or a particle of smoke.
I agree with sawdust's comment:
The HDD requires the read/write head to literally fly above the platter surface as close as possible so that the electromagnetic coil can either get a current induced by the flux patterns on the platter (during a read), or write a new flux pattern using minimal energy so as to not disrupt adjacent tracks.