Dunkin Donuts and Pat Akum

Shouldnt dunkin donuts baked goods such as donuts and cookies all be kosher? Its all pat paltar. If They have a “kosher certification” why is it any worse than getting from any non-Jewish baker? I understand one should not be able to get a toasted egg and cheese from dunkin, but at the end of the day why shouldnt a donut from a kosher certified dunkin donuts not be kosher?

See the shiur
Baked goods