Profit is the income a business earned minus its expenses over a period. Cash flow is the actual money moving in and out of the bank account. A business can be profitable and still run short of cash.
Why they differ: 1) A business delivers a product or service and sends an invoice. Under accrual accounting, the revenue is recorded when it is earned, so it counts towards profit now, but the customer may pay 30 days later. Sending an invoice does not by itself create revenue. 2) Buying equipment uses cash today, but its cost is spread over several years as depreciation. 3) Repaying the amount borrowed on a loan uses cash but is not an expense (the interest is an expense). 4) Stock that is bought but not yet sold ties up cash.
This is why many businesses look at the income statement and the cash flow statement together. Some small businesses use cash-basis accounting, where profit and cash are closer.
Have you seen a business that looked profitable but had cash problems?