A strong earthquake shook a mountainous region in western China near Nepal on Tuesday morning, killing at least 32 people.