The popular theory at another forum is that Starfleet, upon reviewing her performance while her ship was lost, realized that Janeway was a horribly bad captain but that it would look bad to simply fire her upon her return home, so they promoted her to where they figured she could do the least damage.
