If this is the only time, Its nothing to worry about. It could have been any number of a thousand different things.
The Market update is just something that happens, it wouldn't have anything to do with the restart.
If it restarts again while texting, take note of it. Every time it does it, pay close attention to what you are doing. If its always texting, try using a different SMS application because that one could be corrupt.