To me it looks like the tail got crushed/pinched pretty good.I would take to the vet.

Sent from my A521L using Tapatalk