Because a piece of code was found in the game that had been left behind by a developer, reportedly one who was subsequently let go.
That code, which only becomes accessible if you install an external mod, makes all female characters appear topless. The content was invisible to testers and to anyone playing the unmodified game, which is why Oblivion originally received a T rating.
Once it became clear the code was technically present on the disc, the rating was changed — the reasoning being that what ships on the disc counts, whether or not a normal player ever sees it.