I deleted Minecraft pocket edition and it says I need to buy it again
Solution 1:
In the App Store, click the top-right icon of a person’s silhouette. Click Purchased > My purchases (you may not have to press my purchases if you are not in a Apple family, I don’t know) and then type in “Minecraft”. It should come up with a little cloud icon with an arrow. Click the cloud to download.
Note: if Minecraft was originally bought by someone else in your Apple family, instead of going to Purchased > My Purchases, go to Purchased > (whoever purchased it).