Due to the time intervals it's unlikely eliminating sole reliance on Russia to provide ISS transport was the sole intention. But the coincidence with Russia's continuing war in Ukraine is notable.It's one more example of Russia isolating itself.
NASA probably won't need Russia to send more astronauts to the ISS
The agency arranged enough SpaceX flights to keep the ISS crewed through 2030.NASA might not have to lean on Russia again to ferry astronauts to the International Space Station. Ars Technica notes the agency has bought five extra crewed ISS flights from SpaceX, or enough to maintain "uninterrupted" US staffing aboard the station until its expected 2030 demise. While NASA still intends to use Boeing's Starliner, the new SpaceX missions will be necessary to fulfill plans for alternating between the two companies once both are an option.
The extra flights could be used as soon as 2026. They'll help with redundancy and keep the ISS operating safely if any problems prevent Boeing or SpaceX from launching in a timely fashion, NASA said. At present, SpaceX is the only private company certified to fly astronauts. Boeing isn't expected to fly its first operational mission until 2023.
NASA probably won't need Russia to send more astronauts to the ISS | Engadget
NASA has bought enough SpaceX flights to keep the International Space Station crewed until its 2030 demise..

NASA just bought the rest of the space station crew flights from SpaceX

NASA just bought the rest of the space station crew flights from SpaceX
"We will need additional missions from SpaceX to implement our strategy."