Thai people are often incredibly friendly, and many do smile at you on the street. But most of the times, they look at you, and if your eyes meet and you smile, THEN they smile back right away.
If you don’t smile, however, neither do they. My experience has often been that they smile bigger and brighter than you, when you smile first.