This is because traditional IRA to Roth IRA conversion (regular backdoor Roth) go on form 8606, which considers IRA basis. After-tax 401(k) distributions that are rolled into an IRA or converted in plan to Roth 401(k) go on form 1040 lines 4a and 4b.