I feel like that's the source of the humor. Three characters who are varying degree of friends (Worf & Bashir not so much, but both are mutually cool with Miles), getting worked up over something that affects them only tangentially, yadda yadda yadda, holding cell!