Costa Rica has joined several Latin American countries in a rightward political shift and deepening ties with Washington, which gives military aid to Israel and sanctioned Ms. Albanese in 2025 over her criticisms of U.S. and Israeli policies in Gaza