Email services all have different algorithms to try and stop spam, but at their core, they all work the same way. They check certain aspects of your email and give it a spam score. If that score reaches a certain threshold, your email is going to the black hole that is the spam box.