I have a new 2023 GMC Canyon AT4 doing the same thing. At speeds above 70mph it comes and goes (very annoying!). I took it to the dealer and they confirmed it was coming from the passenger side upper corner of the windshield/molding area. Since the parts on on backorder, all that they could do was open a trouble ticket with GM. I did add some silicone caulking around the corners which seemed to help but did not totally eliminate the noise.