Portuguese egg tarts must be baked in a very hot oven, at about 250°C, to get their signature burn marks. At that temperature, shortcrust pastry would be incinerated. That's why Portuguese egg tarts are made with puff pastry, which needs a high temperature to puff up.
High heat isn't the only condition for creating burn marks. There must also be enough milk in the custard mixture.
Milk forms