when the tray is placed in the oven,the particles get heated their temperature increases hence their kinetic energy therefore the particles vibrate morer vigorously. When the tray is removed from the oven,it's temperature decreases, kinetic energy of the particles decreases hence they vibrate slowly.