i lost 7k on stocks and i got only 1000$ From capital loss where the other 2k from 3000 limit?

i lost 7k on stocks and i got only 1000$ From capital loss where the other 2k from 3000 limit?