At checkout the visitor chooses bKash (one of Bangladesh's mobile wallets), the site sends them to bKash's page, they enter their PIN, and then bKash sends them back to a success page on your site. A PayPal, Klarna or 3-D Secure bank redirect follows the same path.
Three things break between leaving and coming back. One, the session: the browser's referrer is now the gateway's domain, so GA4 starts a new session with that gateway as its source, which means the purchase will not be credited to the Facebook ad. Two, the dataLayer: the success page is a fresh page load, so nothing from the previous page's JavaScript survives. Three, the event_id: after the redirect the browser no longer has that ID, unless you wrote it down somewhere.