There are lots of people all over the world with respiratory and other issues who wear masks routinely - either to protect from poor air quality, or from being close to others who may be ill.
You don’t always know which ones they are, and which are just ‘virtue signalling’.
If you laughed at them, my judgment would be that you aren’t very thoughtful.