Shorter A-spec races have tyre wear turned off, so it makes the pits disabled and unnecessary, that's why you're just driving through the pits. I think tyre wear is only on during endurance and some B-spec races (and online/practice too, if its enabled)