You've not got your keyboard set to interpret a double tap on the spacebar as "insert a period"? That could produce spurious periods, though between every word would see excessive.
Is it only SMS? If so, what happens if you use a different SMS app? (It will be the same keyboard, so I'd expect that the behaviour would be the same. If not then please tell us what SMS app you have the problem with).