TL;DR: Black bars appear when your project ratio does not match your footage. Set the canvas ratio first, then choose Fill to crop and cover the frame, or Fit to keep the whole image with padding.
Black bars are a ratio mismatch, not a bug, and understanding the arithmetic removes the guesswork.
Step 1 Identify the two ratios involved
Your project canvas has a fixed shape, for example 9:16 vertical. Your source footage has its own shape, often 16:9 horizontal. Placing a wide rectangle inside a tall one without cropping leaves empty space rendered as black.
Step 2 Choose Fill to eliminate bars
Fill scales the footage until it covers the whole canvas, cropping the sides. This removes bars but sacrifices composition, so verify heads, products and text are not cut off.
Step 3 Choose Fit to preserve everything
Fit scales the footage so the entire frame is visible, keeping all content but leaving bars. Replace default black with a designed background colour, gradient, or blurred duplicate of the footage.
Step 4 Reframe for the best result
Keep the footage larger than the canvas and animate its position with keyframes so the subject stays in frame as it moves. This performs a manual pan-and-scan and usually beats both Fill and Fit.
Step 5 Never export with bars hoping the platform fixes it
It will not, and vertical feeds punish letterboxed content with lower engagement. Fix it before upload.
Step 6 Decide the ratio before importing
Set the project accordingly and shoot vertical if you know the destination is a vertical feed. Prevention is simpler than correction.
Step 7 Serve both orientations properly when required
Edit the horizontal master first, then duplicate the project and reframe for vertical, rather than trying to make one export serve both.
Step 8 Check the final file in your gallery
Bars are obvious there and easy to miss inside the editor preview, so confirm before uploading.