Because they were poor and were pressured/bribed to get rid of them. They also thought that they had sufficient guarantees that they would not need them. Keep in mind that Ukraine runs a number of nuclear power plants. They had the capacity of maintaining their nukes.
Chernobyl.