No one really knows what causes pasty butt. I have found that my chicks that are highly stressed, ie from big hatcheries, shipping, etc, tend to be the ones that get it.
My advice is to add probiotics to the chick’s water & check each chick’s bum daily. If you see poo on their bum, use warm...