Thirty minutes is a number to respect. Pineapple's bromelain is a protein-cutting enzyme, and it really does sever the muscle fibres and connective tissue in meat — that is the tenderising. But it does not stop. Past an hour the surface of the meat unravels into cotton and loses its shape on the grill.
Canned pineapple will not do this, because heat sterilisation inactivates the bromelain. For tenderising, use fresh pineapple only. For the same reason, gelatine desserts need canned.
The core holds the most bromelain. It is usually discarded for toughness, but it is exactly the part to blend into a marinade.
Medium heat is about not charring. Blackening meat at high temperature produces heterocyclic amines and polycyclic aromatic hydrocarbons. The sugar in the pineapple colours things faster, so keep the heat down and turn often. Cut away any blackened parts.
The pepper is here for vitamin C — 128 mg per 100 g in red bell pepper, against 47.8 mg in pineapple. Both are heat-sensitive, so much of the grilled pineapple's vitamin C is lost; what stays raw is what counts.
Pork comes off at 63°C. The old 71°C guidance has been lowered. The temperature climbs during the three-minute rest.