Likely one of the cartridges is damaged and jamming against the drive mechanism. Really the only solution is the work it until the tray comes out.
If you find the information provided useful or solves your problems, help other users find the solution easier by giving kudos and marking my post as an accepted solution.
I am a volunteer, offering my knowledge to support fellow users, I do not work for HP nor speak for HP.
