A lot of places will not consider you for management unless you have prior management experience, so it's a catch22. Happened to me several times despite my career aspirations being clear to my manager. I suppose it's safer to hire someone externally who's already a manager than to promote someone internally who you also need to keep doing the grunt work.