Two Arab nations embraced ties with Israel. Here's what's in it for all sides