Do you really think that developers spend their 40 hours (or whatever allocated time they have) steeped over a monitor writing code??
People need variety, and sometimes a walk across an office is a welcome break to a particularly annoying problem - whether they admit it or not.