In cubital tunnal syndrome, the ulnar nerve becomes compressed or damaged which then can cause spasms. Treatment can involve anti-inflammatories, steroids, splints or changing activities.
Cubital tunnel syndrome is caused due to various problems such as frequent bending of the elbows or constant pressure on the elbow may also lead to cubital tunnel syndrome.