Formation of Stellar Streams Due to the Decay of Star Clusters, OB Associations, and Galaxy Satellites