Why does Jack look so similar to Javier?

I noticed that Jack looks similar to Javier, even though John is Jack's biological father, any theories why?