There's a thing called "server side ad injection" (more like cancer injection) that inserts arbitrary ads directly in the audio stream so the ad is independent from the original producer. Presumably they do some rudimentary tracking based on IPs, user-agent and whether your podcast client downloaded the file past the point where the ad is injected.