Does this "they" refer to glasses only? Or glasses and Peter Parker at the same time?

Native speaker’s answer
Rebecca
Here, "they" refers to the glasses! If he was referring to Peter, he would have said "you look really stupid." Ex: These glasses are nice, they look great on you! Ex: Those shoes look amazing on you.