CBD isn’t directly involved with electrolytes like potassium or magnesium, so it’s unlikely. Starting cannabis therapy could have affected your diet or use of other medications, and CBD does have medication interactions, so it’s possible that it’s indirectly related but it’s hard to say for sure.
drbultman