Seriously, Gordon was making a scheduled pit stop, within his window of opportunity to finish the race. He and his crew realized his car needed new tires and some adjustments. If the adjustments improved the car then Gordon would be better off than running an inferior set up and losing track position to other competitive cars. It's not like the other competitive cars would not have had to make pit stops in the next few laps. And since the caution was intentional, and would not have occurred otherwise according to you, they would have been green flag stops. So Gordon would have gotten back his track position anyway, adjusted for pit stop time.
Gordon's car, and cars with Hendrick engines, have been among the race leaders at practically every race this year. Why is anyone surprised that they win a race with some good luck. No one seems to feel sorry for them when they lose due to bad luck.