Germany must get up because if not it will likely be more difficult to get points back because Spain is not an easy opponent what if something goes wrong again in Germany vs Spain match this will certainly be unexpected again for the second defeat and I think Spain will try to win even though Germany will be stronger than that but it is a very crucial and interesting spectacle.
The second match day is important for Germany but Spain will satisfy if they can get only one point from this match. With three points from the first match and a last match to meet Japan, Spain can win only a last match to be qualified in this group.
In contrast, Germany will close their gate if they won't get three points from Spain. With what Spain shown in the first match day of this group, they are very strong and can control matches very well. Germany will get big trouble in this match with Spain.
So in this group phase, Germany should be able to win again if they draw with Spain I don't think it's a comfortable position for Germany, so they should be able to get points, at least for the next victory.
If Germany can not win Spain, they will very likely be out of World Cup. Because Japan looks likely to win Costa Rica. It means their last match with Spain will not be too important and they might accept a lose in their last match.
Japan vs Costa Rica, I'm sure Japan can dominate the game to win it because Costa Rica doesn't look like it will be better than Japan because I saw from the previous statistics but Japan certainly has more motivation for the game they won before with Germany.
If Japan can beat Costa Rica, they will be qualified for knock-out phase. With good mood after a shock win against Germany, I bet that Japan will beat Costa Rica in their second match.
In history, Japan has 6 wins in World Cup, will it make a match with Costa Rica be a seventh win?
Japan at the FIFA World Cup