(I mentioned this in another comment)
Because the people voting it down are the elected MEPs, whilst the people putting it up to parliament are the European Commission. The EC are appointed, rather than elected. Which means the powers that be just appoint people who are going to push through laws like this, that they want. The MEPs can't put up bills to be voted on.
And who exactly do you think elected the 'powers that be'? The issue is that voter turnout for EU parliamentary elections is awful in comparison to national elections, especially among more conservative voters - meaning that the political orientation between the parliament and commission is a little skewed.