In a small bowl, whisk together ketchup, apple cider vinegar, brown sugar, soy sauce, and cornstarch until smooth. Set aside.
Heat vegetable oil in a large skillet over medium-high heat. Add minced garlic and ginger, sautéing for about 30 seconds until fragrant.
Add chopped onion and bell peppers to the skillet. Cook for 3-4 minutes until they start to soften.
Add the shrimp to the skillet, cooking for 2-3 minutes until they turn pink and opaque.
Pour the sweet and sour sauce over the shrimp and vegetables. Stir well to coat everything evenly and cook for an additional 2-3 minutes until the sauce thickens.
Add pineapple chunks and stir gently to combine. Cook for another minute until heated through.
Season with salt and pepper to taste. Serve over cooked rice.