There are many videos explaining how special relativity causes magnetism, with the most relevant part being that from the reference frame of the electrons, the positively charged ions in the wire have gotten closer together, and the negatively charged electrons have spread apart, a non-zero electric charge in a wire. We can determine that this must happen using the fact that in a lab reference frame, the wire is electrically neutral, and applying a Lorentz transformation to the electrons and ions. However, the electrons must see a different mechanism causing the space between them to increase. They need to see something pushing them apart. They don't know that the wire needs be electrically neutral in another reference frame. What's this mechanism that they see? Does it have anything to do with the period of time when they're accelerating?
I saw a bunch of questions that seemed similar to this one, but I didn't find any of the answers to be satisfactory. They all seemed to just explain how we know that the wire must be charged in different reference frames, using the Lorentz tranformation.