Why the law on religious rights failed in the UK in the case of Eweida v British Airways

Why did the law on religious rights fail in the UK in the case of Eweida v British Airways