Can having sex with someone cause candidiasis?

Potentially. It can cause a change in your ph balance which can lead to a vaginal infection.