I have a 2022 ST, have had that noise now for a year and a half and the dealer put 2 new sunshades in, a new headliner and nothing, told me they couldn't figure it out. I think I figured it out, it might be the guide cables making all of the noise there is one on the left and one on the right. Going to have a buddy of mine looking into this, Keep you posted.
I have a 2022 St and have the same rattle and its driving me insane lol. My dealership i work at replaced the shade twice, then the headliner and the noise is now worse. My writer told me that they a ticket with the hotline on this one because they cannot figure it out, My parts and servive directors ST has the same issue. Waiting to hear back from Ford on an answer on what they are going to do .