income increased by $76,000 primarily due to higher interest rates received on our cash and short-term investments. Foreign exchange losses were $41,000 for the three months ended September 30, 2022 compared to $60,000 for the three months ended September 30, 2023. Interest and other income, net increased by $111,000 from $40,000 in the six months ended September 30, 2022 to $151,000 in the six months ended September 30, 2023. Interest income increased by $197,000 primarily due to higher interest rates received on our cash and short-term investments. Foreign exchange losses were $37,000 for the six months ended September 30, 2022 compared to $123,000 for the six months ended September 30, 2023. The exchange losses in each period were related to our Taiwan branch operations and our operations in Israel.
Provision for Income Taxes. The provision for income taxes decreased from $37,000 in the three months ended September 30, 2022 to $33,000 in the three months ended September 30, 2023 and decreased from $97,000 in the six months ended September 30, 2022 to $84,000 in the six months ended September 30, 2023.
Net Loss. Net loss was $3.2 million in the three months ended September 30, 2022 compared $4.1 million in the three months ended September 30, 2023 and was $7.2 million in the six months ended September 30, 2022 compared to $9.2 million in the six months ended September 30, 2023. These fluctuations were primarily due to the changes in net revenues, gross profit and operating expenses discussed above.
Liquidity and Capital Resources
As of September 30, 2023, our principal sources of liquidity were cash, cash equivalents and short-term investments of $25.3 million compared to $30.6 million as of March 31, 2023.
Net cash used in operating activities was $6.3 million for the six months ended September 30, 2023 compared to $8.4 million for the six months ended September 30, 2022. The primary uses of cash in the six months ended September 30, 2023 were the net loss of $9.2 million and a reduction in accrued expenses and other liabilities of $326,000. The reduction in accrued expenses and other liabilities was primarily related to the payment of fiscal 2023 year-end accruals for incentive compensation. The uses of cash in the six months ended September 30, 2023 were less than the net loss due to non-cash items including stock-based compensation of $1.5 million and depreciation and amortization expenses of $505,000. The primary sources of cash in the six months ended September 30, 2023 were decreases in inventories of $744,000 and accounts receivable of $399,000.
The primary uses of cash in the six months ended September 30, 2022 were the net loss of $7.2 million, a reduction in accrued expenses and other liabilities of $1.4 million and an increase in inventories of $966,000. The reduction in accrued expenses and other liabilities was primarily related to the payment of fiscal 2022 year-end accruals for incentive compensation. The uses of cash in the six months ended September 30, 2022 were less than the net loss due to non-cash items including stock-based compensation of $1.3 million and depreciation and amortization expenses of $510,000.
Net cash provided by investing activities was $2.1 million in the six months ended September 30, 2023 compared to $4.0 million in the six months ended September 30, 2022. Investment activities in the six months ended September 30, 2023 primarily consisted of the maturity of certificates of deposit and agency bonds of $2.8 million, partially offset by the purchase property and equipment of $624,000. Investment activities in the six months ended September 30, 2022 primarily consisted of the maturity of certificates of deposit and agency bonds of $4.3 million partially offset by the purchase property and equipment of $224,000.
Net cash provided by financing activities in the six months ended September 30, 2023 consisted of the net proceeds from the sale of common stock pursuant to our employee stock plans of $1.5 million and proceeds from the sale of common stock pursuant to an At-the-Market offering of $153,000. Net cash provided by financing activities in the six months ended September 30, 2022 consisted of the net proceeds from the sale of common stock pursuant to our employee stock plans of $179,000.
We believe that our existing balances of cash, cash equivalents and short-term investments, and cash flow expected to be generated from our future operations will be sufficient to meet our cash needs for working capital and capital expenditures for at least the next 12 months. Our future capital requirements will depend on many factors, including revenue growth, if any, that we experience, any additional manufacturing cost increases resulting from