Gels, pastes etc have to conform to the 100ml rule but with powders there's some ambiguity. Your 100g of peanut butter would surely be less but how would they know when asked to make an on-the-spot decision?
Blame Abdulla Ahmed Ali for it, but I think it'll be relaxed soon with the new generation scanners now available.