You may have overcooked the cabbage. If cooked for too long, sulfur compounds are released and the cabbage starts to smell funky (well, funkier than normal cabbage smell).