The -a switch for all commands uses the window active at the time the command is issued. In this case, /timer is associated with a specific window for the life of the timer. I could change it so that -a works the same way as $active, however I think -a has always worked this way.