I've heard of fish doing this. He could probably be very stressed out, and you didn't acclimate them right. But I think he is just very stressed. You should have gave him a day in the tank...now he's even more stressed going from the store, your tank, bucket. I would put him back in the tank and give him a few days, because he will get so stressed he will die in the bucket.