U.S. intelligence agencies have blamed the Iranian government for seeking to encourage protests in the U.S. over Israel’s war against Hamas in Gaza.