In the “paternal exercise” case the trait isn’t the habit of exercising, it’s the metabolic changes of exercise that are (apparently) conferred to both father and offspring.