If you haven't taken the truck out for a while, I doubt anything is going out. Sometimes normal condensation causes corrosion internal to the starter, and the physical action of operating the starter pedal removes that corrosion, allowing the current to flow and the starter to spin.
On the other hand, if it's a regular driver, then you may want to plan to get that starter out to a shop.