I’d add that Jellico could have also been testing the Enterprise crew, to see if they were really up to it. Remember, in “Encounter at Farpoint”, Picard at first is kinda short and miserly toward Riker. He has a mission to accomplish, and that’s the top priority. Pleasantries and hand-shaking can wait until the job is done. Q was the most important thing to deal with at the moment.