This can happen if the marmalade wasn’t boiled long enough or the pectin didn’t fully activate. You can try reheating it and boiling it for a few more minutes or adding a bit more pectin.