Attacks first cancel your opponent's incoming garbage. When you lock a piece without clearing a line, any remaining pending garbage solidifies at the bottom of your board. Watch the amber gauge on the side of your board — red means it materializes on your next lock.