They originally were held in place by small retainer clips which has a tiny coil spring between them.
Once you remove that, the transmission (that is what GM and the vendors call them) ends should push right out. Sometimes they are snug due to the old hard grommets.