Well, eating pork was always an option, archeological evidence shows that prior to the Babylonian exile, Israelite communities sometimes raised pork. The taboo against pork arose as an identity marker for Israelites to identity themselves apart from neighbors. It was a social construct.