Probably, you added the oil too fast or did not whisk long enough. The key thing to keep in mind when making mayo is to add that oil slowly; by slowly, I mean almost to add it drop by drop. The emulsification process takes time; it takes me approx 8 minutes, so don't rush it and be patient. It will come together!