The risk of making that pass on a 3rd down wasn't worth it when he had a 99.9% chance of making the first down by foot, and at least 10 extra yards on top of that.
But you're right. I'm definitely not complaining since he completed the pass, but it was far too risky given the circumstance. I didn't like the decision, just the execution of it.