Yes sometimes they're intentional. If you can trick a batter into swinging at something they're unlikely to hit (or will hit poorly), that's probably the best kind of pitch you can make. Also it can be part of a psychological strategy.
This pitch was probably unintentionally bad, but maybe not by much.
This pitch was probably unintentionally bad, but maybe not by much.