Type 2 diabetes means your body doesn't use insulin well. This is called insulin resistance.
Your pancreas may still make insulin, but it can't keep up with what your body needs.
This causes blood sugar to rise higher than normal. Before pregnancy, you may have managed this with pills, insulin, or lifestyle changes.