Supposely it is caused by stress, expecially stress of shipping, but I think it is a little more complicated than that. Otherwise why do some of them get it several days after they arrive?
I don't know anything that absolutely, always, without a doubt stops it. Some things that might help...