It’s not a mystery that, if something is in the way of your spit, you’re not going to infect as many people.
The virus is so much smaller than whatever material you’re putting over your mouth that it hardly seems to matter at all. This “seems logical” but isn’t if you actually think about it.