"On the day of your joy, on your holidays and on the heads of your months you shall blow with trumpets"—Numbers 10:10.
We are commanded to blow trumpets while the sacrifices offered on special dates were being offered in the Holy Temple.
We are also commanded to blow trumpets during times of distress, to accompany our prayer to G‑d.