I've seen this on some audio equipment, i press eject, the tray comes out, then goes back in immediately and i have to either lightning fast pull the disc out or grab hold of the tray and wrestle with the drive.
Its an external, not sure what could be causing this but it did work fine for some months before it developed the problem