Penalising black is what you would expect from dinghy racing, if Black made no attempt to give yellow room and sailed their course black would have won the protest.
Looks like black went up and gave yellow plenty of room to stop or go below, yellow sailing up but not tacking and then proceding forward meant they were forcing black to tack or collide both penalties to yellow.