I think the reason the king doesn't like the prince and treats him poorly is because he's an affair child. Like the mom had an affair.