Monkeypox is closely related to smallpox that we have managed to eradicate (unfortunately so closely related that the recent lack of smallpox-vaccination means that monkeypox can spread more).
They are different kinds of diseases: one is airborne RNA-virus and also spreads pre-symptomatically another is DNA-virus that gives visible signs that you are infected and seems to require physical contact.