The two Palestinian factions have been at odds since Hamas routed Fatah forces in a civil war last year and seized control of Gaza .