I understand your doubts; they come from our ingrained Newtonian way of thinking. There could also be a situation in which observer $A$lice perceives the two lightning-strike events as simultaneous; but in that case they would be perceived at different times by $B$ob.
It may be good to emphasize that, in this specific case, both $A$ and $B$ agree that two light signals, starting from the lightning-bolt events, reach $B$ at the same time: that is, the event "light signal from bolt 1 reaches $B$'s eyes" and the event "light signal from bolt 2 reaches $B$'s eyes" are coincident events. Also, both $A$ and $B$ agree that two other light signals, starting from the lightning-bolt events, do not reach $A$ at the same time: that is, the event "light signal from bolt 1 reaches $A$'s eyes" and the event "light signal from bolt 2 reaches $A$'s eyes" are not coincident events. These are two facts experimentally verifiable by both $A$ and $B$.
The question is how $A$ and $B$ interpret these two facts upon which they agree.
According to $A$, the two light signals don't reach her at the same time because they were not generated at the same time, since both travelled with speed $c$ for equal distances. And they reach $B$ at the same time because $B$ is moving towards the signal that originated later – and so that signal travelled for a shorter distance. Note that $A$ deduces that the two signals reaching her cannot have originated at the same time. This is a consequence of the fact that all observations are in the end local observations at the observer's place, combined with the postulate or convention that light has the same speed for every observer.
According to $B$, the two light signals don't reach $A$ at the same time because they were generated at the same time, and both travelled with speed $c$, but $A$ was moving towards one of them – and so that signal travelled for a shorter distance. And they reach $B$ at the same time because he is not moving. Note, also in this case, that $B$ deduces that the two signals reaching him must have originated at the same time.
I hope that this description shows you the symmetries and "antisymmetries" in $A$'s and $B$'s interpretations. Check out also the other case, in which the two bolts are simultaneously seen by $A$, and therefore not by $B$.
An important point to be emphasized at the start is that according to $A$ the two lightning-strike events happened at equal distance from her. This is the case because, for example, whenever $A$ sends two light signals towards the two ends of the rail carriage when her clock shows some time $t'$, both bounced signals reach her at the same time $t''>t'$ according to her clock (this is the notion of radar distance).
But the same is true for $B$: the two lightning-strike events happened at equal distance from him. Because whenever he sends two light signals towards the two points on the rail track – where the lightning bolts landed – when his clock shows some time $t'$, both bounced signals reach him at the same time $t''>t'$ according to his clock.
Personally I find it easier to avoid thinking in Newtonian terms by considering the following experimental fact and its consequences: You, I, and even a third person are at the same spot and synchronize our clocks; we then move around freely in different ways. If we happen to meet again in some spot and compare our clocks, we will find that they generally give three different readings. How can we decide which clock "is right"? We can't. This forces us to redefine our notions of time and space, and makes it impossible to associate "time" to places or events – it can only be associated to observers.
For the notion of radar distance see for example