Both the ruling Hamas movement and once-dominant Fatah have mounted large rallies in Gaza and the occupied West Bank in recent days, trying to whip up public support and project strength amid the mounting internal violence.