Deposits to Scroll
For ETH and ERC20 transfers, the official documentation points to a Gateway Router. NFT transfers use the relevant ERC721 or ERC1155 gateway. The gateway uses messaging infrastructure to create the corresponding Layer 2 action.
Withdrawals from Scroll
A withdrawal creates a message on Layer 2. The documentation describes a withdrawal tree, finalization and proof verification on Layer 1. Timing depends on protocol state and the route used.
Why status can be confusing
A wallet transaction can be confirmed on one chain while the cross-chain message is still waiting for the next step. Use the official interface and explorer links to distinguish transaction status from message status.