Rotating a vector


So basically we attempted to set up our shotgun bullet spread using vectors with coordinates this way (see attached image).
Our issue is that we can’t seem to get our vectors to rotate along the x axis. Only the Z axis seems to work, therefore our bullet spread system is only half done.

Does someone know why this is happening and/or what could possibly be causing this?