You're comparing flying direct vs flying through Edinburgh. What about people flying from places that dont have a direct flight to the US?
Compare flying through Edinburgh and using pre-clearance vs flying through Amsterdam or Paris.
EDI then becomes a slightly more preferable routing.