The MG 17 appeared shortly after the MG 15 and, unless something escapes me, being belt fed it would have been a much better proposition for a defensive gun on a flexible mount, and without too much work it could have been twined as the MG 81 eventually was so... why didnt they do it?
What am I missing?
you are missing mechanics.
It was a lot easier to make a flexible machine gun using some sort of magazine than using a belt unless it was a short belt in a box attached to the gun and moving with it, and then what is the point?
Getting belts to curve and bend without jamming as the gun was pointed left and right and up and down took a lot more doing and getting the guns to pull the weight of the belt from some locations (height or distance) without slowing the gun (or stopping it) took a bit more work.
It was done, eventually, by just about everybody but it took a few years.
for instance
This early installation had brackets/trays for a box of belted ammo for each gun. Once the ammo in the box was gone the gunner had to remove the ammo box from the bracket/tray, put a new one in, open the top cover of the gun, insert beginning of belt and close top cover and pull charging handle.
Later versions or versions on other aircraft had belts fed from below the mount and the gunner had much less fiddling to do.
edit,
I would also note that belt fed machine guns had been used in WW I in flexible mounts and had been found wanting.
Of course the flapping canvas belts had something to do with it, not to mention wet canvas froze and stopped the gun.