There's a misconception surrounding the Celestials in Marvel Comics. They're often thought to be the beings that created the universe, but this isn't the case. Instead, these beings seized authority over various parts of the Marvel universe, acting as judges simply because they had the might to do so.
Source:https://www.cbr.com/ranking-marvel-strongest-celestials-mcu/