When a perfectly non elastic object (let's say a book) is dropped on the ground, it's kinetic energy from the fall is transformed into heat and sound.

Now, if W = Fs, the work done by the normal reaction force on the book is zero since the book does not move after it hits the ground.

My question is how can the kinetic energy be transformed into other forms if no work is being done on the book? Is transformation of energy into different forms unrelated to work?