Tens of thousands of refugees fled across the border into China to escape fighting between the Burmese army and ethnic rebels in Kokang , a mainly ethnic Chinese region of Burma 's Shan state .