I knew he was just putting on a show by waiting around for a while before endorsing. He was always going to do it, but he wanted to throw around his weight for a while and pretend to be acting in a “principled” manner.
Mitt probably wanted Ryan to withhold his endorsement of Trump until AFTER the convention, an outcome that would humiliate and infuriate The Donald and his followers.