That is exactly my point, the split in the courts vote by only one vote now in three courts, by only a single vote, means by both California State Law, and Federal Law, there was legal merit for those who did not say it was unconstitutional. I believe even prior to these 2 State rulings was another ruling several years ago, that ruled because of the existence of the civil Union laws and other discrimination laws, there was no discrimination against gays.
The voters could be a very different story, some may have voted due to religious reasons,some because they feel marriage is only between a man and woman with no religious reasons, others because they do no accept some of the alternative lifestyles, prejudices, and other reasons.
The justices however decide based on the legal merits, and if it was so one sided and obvious, votes of 9-0, or 7-0, or 5-0 depending on the court would have happened.
The courts have spoken and that is how we live, so like it or not, we all abide by the laws.