Why there is an induced current in a coil when a coil is compressed in a magnet field?

Whenever a conductor passes through a magnetic field, a voltage (not current!) is induced.