Alliances stick together in Delhi, turn enemies in UP