As I understand it from my time there, one franchisee owns all of them and they set the price.
Even without cooperation that isn’t allowed, let’s say 5Guys comes in and see that the market will bear higher prices. Why wouldn’t they take advantage of that?
That's how downwards price pressure in capitalism works -- by reducing price you gain market share and increase profit overall. Otherwise, under capitalism, all our prices would be sky-high!
The fact that a bunch of McD's franchises in Arizona are owned by the same person doesn't explain a lack of competition.