Considering the competition, distrust in Chinese systems makes more sense for Iran than Pakistan. Pakistan’s main opponent is India, which besides the Rafael, only has outdated fighters. Even the Rafael is only a 4.5 generation fighter and India has a very limited number of them.
But Israel has full access to the F-35, which is a 5th generation fighter widely considered the best in the world. China’s answer to it, the J-20, was never for sale. It actually makes sense the Iranians would not have wanted to acquire the J-10 given what they were up against. The J-10 doesn’t match up well vs the F-35.
That said, neither does Su-35; but we also don’t know what happened behind the scenes there, except that Iran did not end up with any delivered. It’s possible the Russians gave them a better deal due to the war but with the caveat of late delivery. Either way, none of these fighters can match up to Israel’s state of the art air force and neither China nor Russia are selling Iran their 5th generations.