its all due to inertia. Your boxers have a specific gravity (in this case 800 lbs psi), which is multiplied by a factor of 30 when on a train traveling at that speed. the walking would only add a negligible increase to your inertia, and is not a factor here. you might also want to check the elastic on the waistband and stop tugging at them.