The electronic “active” aspect of noise canceling can be just as good in earbuds as over-ears. Over-ears, however, offer many people a better seal against the outside world. Or at the very least, they're less seal-dependent compared to in-ears. So there's passive isolation possible in the design itself.