Southwest Airlines Co. said Thursday that it faces higher costs in 2025 as inflation persists, but it managed to swing to a fourth-quarter profit due to a boost from lower fuel prices.