the ionosphere is a layer of earth's atmosphere that contains electrons and ionized atoms. radio waves bounce off these particles. in fact, without them, radio communication would be impossible.
tinfoil hats don't actually block radio waves. they amplify them, essentially turning your entire head into a big, hershey-kiss-shaped antenna.