When and why PINNs fail to train: A neural tangent kernel perspective