In Spanish, the object or thing being "liked" is the subject of the sentence. The verbs "gustar" expresses the concept of something being liked. The literal meaning of gustar is TO BE PLEASING TO (someone).