Actually it does matter, what a lame response. How about you understand from the description of the scenario that only A makes the pulse, relative to the event of generating the pulse A is in motion. B relative the event of generating the pulse is stationary.
So tell me why it doesn't matter who is moving? That doesn't even makes sense in this scenario. Your analysis of this scenario is way off.