I don’t think that tart is originated locally here. But if you type kuih tart, or tart nanas, you will find all the queries about tart recipes from top to bottom. That tells you how famous is the tart here in Malaysia.
Malaysian Tart are Pineapple Tart. From I was a kid I know this pineapple tart. During Hari Raya or Gong Xi Fa Cai even Deepavali we will found the pineapple tart. If I born in 1980s, I guess the history of this pineapple tart way back 50 years before the independence because my grandma also talk about this pineapple tart when she was small.