The choice for Bulgaria was to either join the Axis and let him do so or be invaded and taken over as well. So they joined and as Germany and Russia currently had a non-aggression pact this prevented the bordering Soviet Union from invading them as well.