I think you have answered yourself. The cargo division of Cathay Pacific is obviously important to them, and thus they have a need for cargo capacity on passenger flights.
I am not entirely sure Hainan Airlines has a business case for the A380 either, but the cargo market doesn’t make up the proportion of the business that it does for Cathay Pacific.