I'm leaning more toward fin rot from the pictures, but it is hard to tell. From my experience, fin biting tends to make more uniform edges/edges that follow a pattern, while fin rot tends to be more ragged/does not follow a pattern.
These questions might help you narrow down the cause:
Do the edges where there is damage look inflamed or like they have something growing on them? If it is fin rot the edges will look inflamed (or if it is caused by a fungus the edges will be white/fuzzy). Typically edges from fin biting will look relatively normal and not have any change of color.
How long have his fins been like this, and has the damage progressed or stayed the same? If the damage keeps moving closer to his body it is most likely fin rot, but if it is not and has stayed the same, it could be fin biting.
Does the damage always stop at the same point? This is kind of a follow up question from the previous one, typically fin biting damage will only reach a certain point. It won't go past where the betta can reach. Also the damage will typically only be on the tail.
Has his behavior changed? If it is fin rot, he might be acting lethargic or sick. If it is fin biting, his behavior will most likely be normal, and sometimes you can catch them doing it (it looks like they might be twisting and rubbing themselves on the substrate or decorations).
I'll attach photos of some of my own fish as examples. The one with the koi pattern had a bad case of fin rot when I bought him. The edges look red/irritated and the damage doesn't follow a pattern. Also all of his fins are affected. The metallic one developed a bad tail biting habit. The photo was taken during a healing period, but you can see that the damage stopped at a certain point (it didn't go past where he couldn't reach) and followed a pattern. Only his tail was really affected.