According to both Timatic (the system used by most airlines to confirm visa requirements) and the IATA Travel Center a Syrian national DOES require a visa to transit Hong Kong, even if only for a few hours, and even when travelling on a single ticket.
As you did not have a valid visa to transit Hong Kong, you were correctly denied boarding in China.
Credit:stackoverflow.com‘
5 Mar, 2024
5 Mar, 2024
5 Mar, 2024