So there's this new paper, and it turns out Saichania and Pinacosaurus, at the very least, had a legit larynx. It's convergent with an avian syrinx, closest to songbirds and parrots, so it's within reason that ankylosaurs could fucking chirp. https://www.nature.com/articles/s42003-023-04513-x