I have seen this exact same coating when a customer had diesel mixed in a fuel can.
I ended up using Chemtool B-12 carburetor spray to finally cut through that stuff.
Diesel fuel requires much high combustion pressure and temperature to ignite, if not what you end up with is a sticky polymer like this.
The other possibility is extremely old fuel that has oxidized from sitting for years, then been used.