In some forms, the breath is anchored to the technique: you exhale when you strike. In other forms, the breath is mobile: you breath in and out fluidly regardless of the technique happening in the form.
And sometimes, your teacher asks you to see how far you can get through a form with only one breath because… well what do you get out of it? Try it and see.