This is a user-controlled feature that is actually on by default, but frequently turned off by users. Basically, if a user plays a video in a playlist it will continue to play videos from that playlist unless they have turned it off.
I will note, YouTube seems to constantly play with this behavior and it seems to irritate creators and viewers alike with how inconsistent it is.