Basically it's the crystalls [trichomes]

When they're cured they dry and turn into this crystalls, but when they're growing they're an oil.

When they're heated they'll turn back into the oil, and this is what gives you the brown bit of resin around the roach. It's a good thing.