Why do all my trimmed lines change to current layer when trimming?

Why do all my trimmed lines change to current layer when trimming?