The underlying mechanisms of alignment in error backpropagation through arbitrary weights