My WAG would be that there were at one time two distinct adjectives to convey the quality of goodness, and over time they were “merged” by taking the absolute form of one adjective and the relative and superlative forms of the other.
Same goes for badness.
Same, incidentally, goes for the verb “to be”.