S-corp basis calculation

Baker, an individual, owned 100% of Alpha, an S corporation. At the beginning of the year, Baker's basis in Alpha Corp. was $25,000. Alpha realized ordinary income during the year in the amount of $1,000 and a long-term capital loss in the amount of $3,000 for this year. Alpha distributed $30,000 in cash to Baker during the year. What amount of the $30,000 cash distribution is taxable to Baker? a. $0 b. $30,000 c. $5,000 d. $4,000 The correct answer is $5,000. Can someone please explain to me why the LT capital loss cannot be utilized in the current year?