>>48130866They push each other into a better version of themselves, that's how rivalries work on Pokémon. They just happened to catch feelings along the way, given how Leon said that Raihan was his only true and greatest rival, and how Raihan still after Leon's defeat, wants to remains near him to keep him on his toes.