Since Earthquake is a physical move, does it reduce the attack if opponent use King's Shield?
No, since EQ doesn't count as a contact move. Although it is physical, the attack itself does not involve contact between the two Pokemon. EQ will be blocked by King's Shield but it won't drop attack.
Hope I helped!