It probably wasn't really a bug, but untested behaviour or designers didn't think there could be such strong reflections from clouds. I suppose there wasn't too much real data to test detection algorithms against.
Not a bug caused by programmers, but a bug caused by the domain experts who wrote the specifications for the code. I doubt the programmers writing the code were experts on cloud/satellite imagery interactions.