It could be a lot of things... but since they started dying in your short transit, it probably wasnt your fault and you should complain to the supplier. A good supplier should try to make this right with you

A lot of fish death causes like chlorine or ammonia poisoning will kill a few right away but the damage is done and others will die off over time...

brian