I have a persimmon tree in our courtyard which delivers about 110 baseball-sized persimmons each year. That damage shown (first 3 pictures) is probably from insects or storm etc. The ornamental pears trees (last 3 pictures) got theirs from deer in the yard. I see a lot of suggestions from wound care substances containing bees wax, and there's wound care tape, etc..
I sincerely doubt that will ever happen for the large persimmon. The bulk of the interior of the tree appears to be dead and rotting, and the odds of it living long enough to close the gap without breaking since much of its structure is missing are low.
The younger/smaller pears might manage to grow together, though they will always retain some interior damage, and that might impact them poorly in the future as an avenue for insect or disease attack. You may be better off in the long run replacing them and protecting the new ones from deer attack.
Tree wound dressing products are pretty much snake oil or possibly snake venom - many actually impede the tree's self-healing effort - none actually help it to heal, from everything I've read. Here's one example https://extension.unh.edu/blog/2019/07/should-i-cover-large-pruning-wounds-tree-wound-dressing
Edit: Everything I've read not from people with an interest in selling the stuff; those people perpetuate the bad advice because they don't make any money if you follow good advice.