The role of bed separation and friction in sliding over an undeformable bed