It's according to China's laws, there are some countries in Latin America where this is the case too Cuba can be an example, (By personal experience I'm aware than in Argentina, Brazil and Mexico you can help people and not be charged with, in Mexico you are even given recommendations on how to go about to help people out of a car wreck, that's why you'll see in Mexican accidents people actively trying to help, in Argentina and Brazil this is similar to a lesser extent.)
In China when someone intervenes in a crime or accident scene the law considers them an accessory, so, if a wounded person dies while you are taking care of him/her then you can be responsible for his/her death even though it was someone else who caused him/her the injuries in the first place, hence the "shitty attitude" of Chinese people in the presence of accident victims.
Then if you add to that the possible death sentence by rifle shot for murder you might begin to understand why they seem to be so "callous" and "insensitive" towards poor accident victims.
Sheers!

I have no idea if it will last...or even acknowledged by the populace, but the Chinese govenrnment did enact some good samaritan protections in 2017.
...Let's face it; if ~20 people were unwilling to help a crying toddler (Wang Yue) who had been run over by 2 cars, this guy didn't have a hope in hell.