Why are republicans policy regarding Ukraine and Israel different ?

Why don’t they want to support Ukraine citing that they want to put America first but are willing to send weapons to Israel ?