Take note that Friis transmission equation is extremely misleading, since it makes certain assumptions about the choice of antenna, which are not necessarily true for all systems.
Too ask the pointed question: Why would propagation in free space be affected by the frequency of the field?
A good explanation is here: https://www.dsprelated.com/showarticle/62.php