Because it's only the correct version of the web site that comprises "HTML, CSS, and JPG". The problem isn't about what the correct version of site contains, it's about what the intercepted version contains.
Anyone in the middle can change the web site into anything they like. They could add a "donate link", saying that the author needs money to sustain the site.