Measure the over locknut width of then wheel. 135 or 142mm.
135 frames (my 26″ five for instance) have a flat face and no location for the axle.
142 frames (my Trek) have a U shape 3.5mm depth either side (ie. the extra 7 mm) machined in the frame to locate the axle.
Does the maxle screw right into the frame so the thread is flush with the outside.
Opt1 everything is fine
Opt2 142 frame with 135 wheel / axle
Opt3 142 frame with 142 wheel & short axle (yikes)
Plus other combos
Suspect 1