It’s not just nearly identical, it’s lifted from the soundtrack from AOTC. There are also snippets lifted from TLJ, TFA, ROTJ and ROTS sprinkled throughout the film.
He did the same thing by dropping in “Burning Homestead” into TFA during Rey and Kylo’s fight.
Why he couldn’t get Williams to simply rescore them is beyond me.
It sounded like a new recording to me, same with the ROTS “lift.” The others definitely seemed like the old recordings.
There are quite a few reasons, ultimately I’d think last minute editing is the primary culprit (same with when this happened on the prequels).